package com.ganbo.stock.entity;

import lombok.Data;
import lombok.ToString;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.math.BigDecimal;

/**
 * 基金： 数据来源: https://danjuanfunds.com/rank/performance
 *
 * @Author: ganbo
 * @Date: 2021/2/6 14:28
 */

@Data
@Entity
@Table(name = "f_fund")
@ToString(callSuper = true)
public class Fund extends BaseEntity {

    private String code;        //基金代码
    private String name;        //基金名称
    private BigDecimal yield;   //涨幅
    private Integer type;       //类型
    private String typeName;    //类型名称
    private BigDecimal unitNav; //净值
    private String cycle;       //基金表现所属周期


}
